package com.ruoyi.novel.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 记录对象 a_records
 *
 * @author 张三
 * @date 2025-04-27
 */
@TableName("a_records")
public class Records  extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /** 用户 */
    @Excel(name = "用户")
    private Integer userId;

    /** 视频 */
    @Excel(name = "视频")
    private Integer videoId;

    /** 交友 */
    @Excel(name = "交友")
    private Integer friendsId;

    /** 社区 */
    @Excel(name = "社区")
    private Integer communityId;

    /** 小说/漫画 */
    @Excel(name = "小说/漫画")
    private Integer novelId;

    /** 关注人 */
    @Excel(name = "关注人")
    private Integer peopleId;

    /** 类型 0浏览 1收藏 2关注 10加入书架 */
    @Excel(name = "类型 0浏览 1收藏 2关注 10加入书架")
    private Integer type;

    /** 状态 */
    @Excel(name = "状态")
    private Integer state;

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId()
    {
        return id;
    }
    public void setUserId(Integer userId)
    {
        this.userId = userId;
    }

    public Integer getUserId()
    {
        return userId;
    }
    public void setVideoId(Integer videoId)
    {
        this.videoId = videoId;
    }

    public Integer getVideoId()
    {
        return videoId;
    }
    public void setFriendsId(Integer friendsId)
    {
        this.friendsId = friendsId;
    }

    public Integer getFriendsId()
    {
        return friendsId;
    }
    public void setCommunityId(Integer communityId)
    {
        this.communityId = communityId;
    }

    public Integer getCommunityId()
    {
        return communityId;
    }
    public void setNovelId(Integer novelId)
    {
        this.novelId = novelId;
    }

    public Integer getNovelId()
    {
        return novelId;
    }
    public void setPeopleId(Integer peopleId)
    {
        this.peopleId = peopleId;
    }

    public Integer getPeopleId()
    {
        return peopleId;
    }
    public void setType(Integer type)
    {
        this.type = type;
    }

    public Integer getType()
    {
        return type;
    }
    public void setState(Integer state)
    {
        this.state = state;
    }

    public Integer getState()
    {
        return state;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("videoId", getVideoId())
            .append("friendsId", getFriendsId())
            .append("communityId", getCommunityId())
            .append("novelId", getNovelId())
            .append("peopleId", getPeopleId())
            .append("type", getType())
            .append("state", getState())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
